package com.yiren.manager.form.lease;

import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.yiren.core.form.GenericForm;
import com.yiren.manager.utils.CustomJsonDateDeserializer;

public class YrRetreatLeaseForm extends GenericForm{

	private static final long serialVersionUID = 4009806869482960533L;

	private String retreatLeaseId;

	private String brand;

	private Float cashPledge;

	private String createId;

 	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")  
	private Date createTime;

	private String disinfectStatus;

	private String iconUrl;

	private String intro;

	private Integer leaseNumber;

	private String leaseSuppliesId;

	private String model;

	private Float price;

	private String remark;

	private Float rent;

	private String suppliesName;

	private String updateId;

 	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss") 
	private Date updateTime;
	
	private String elderId;
	
	private Integer status;
	
	public String getElderId() {
		return elderId;
	}

	public void setElderId(String elderId) {
		this.elderId = elderId;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public String getRetreatLeaseId() {
		return retreatLeaseId;
	}

	public void setRetreatLeaseId(String retreatLeaseId) {
		this.retreatLeaseId = retreatLeaseId;
	}

	public String getBrand() {
		return brand;
	}

	public void setBrand(String brand) {
		this.brand = brand;
	}

	public Float getCashPledge() {
		return cashPledge;
	}

	public void setCashPledge(Float cashPledge) {
		this.cashPledge = cashPledge;
	}

	public String getCreateId() {
		return createId;
	}

	public void setCreateId(String createId) {
		this.createId = createId;
	}

	public Date getCreateTime() {
		return createTime;
	}

	@JsonDeserialize(using=CustomJsonDateDeserializer.class)
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getDisinfectStatus() {
		return disinfectStatus;
	}

	public void setDisinfectStatus(String disinfectStatus) {
		this.disinfectStatus = disinfectStatus;
	}

	public String getIconUrl() {
		return iconUrl;
	}

	public void setIconUrl(String iconUrl) {
		this.iconUrl = iconUrl;
	}

	public String getIntro() {
		return intro;
	}

	public void setIntro(String intro) {
		this.intro = intro;
	}

	public Integer getLeaseNumber() {
		return leaseNumber;
	}

	public void setLeaseNumber(Integer leaseNumber) {
		this.leaseNumber = leaseNumber;
	}

	public String getLeaseSuppliesId() {
		return leaseSuppliesId;
	}

	public void setLeaseSuppliesId(String leaseSuppliesId) {
		this.leaseSuppliesId = leaseSuppliesId;
	}

	public String getModel() {
		return model;
	}

	public void setModel(String model) {
		this.model = model;
	}

	public Float getPrice() {
		return price;
	}

	public void setPrice(Float price) {
		this.price = price;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Float getRent() {
		return rent;
	}

	public void setRent(Float rent) {
		this.rent = rent;
	}

	public String getSuppliesName() {
		return suppliesName;
	}

	public void setSuppliesName(String suppliesName) {
		this.suppliesName = suppliesName;
	}

	public String getUpdateId() {
		return updateId;
	}

	public void setUpdateId(String updateId) {
		this.updateId = updateId;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	@JsonDeserialize(using=CustomJsonDateDeserializer.class)
	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
	
}
